package com.hooper.wallet.service;

import com.hooper.wallet.domain.TransactRecord;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hooper.wallet.domain.vo.TransactRecordVo;

import java.util.List;

/**
* @author Mind
* @description 针对表【transact_record(交易记录表)】的数据库操作Service
* @createDate 2023-03-07 18:54:52
*/
public interface TransactRecordService extends IService<TransactRecord> {
    /**
     * 获取用户的交易记录
     * @param userId 用户id
     * @return 交易记录 View Object
     */
    List<TransactRecordVo> getTransactRecords(Long userId);
}
